<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'MyJsp.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  <%
   ArrayList arraylist1 = new ArrayList();
   arraylist1.add("aa");
   arraylist1.add("bb");
   arraylist1.add("cc");
   arraylist1.add("dd");
   arraylist1.add("ee");
   
   %>
   <% request.getSession().setAttribute("arraylist1",arraylist1); %>
   ${fn:length(sessionScope.arraylist1) }<br/>
   ${fn:contains("ABC","ab") }<br/>
   ${fn:substring("abcde",1,3)}<br/>
   ${fn:split("a,b,c","b") }<br/>
  <body> 
    
  </body>
</html>
